package com.jixu.streetapp.utils;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.jixu.streetapp.entity.Street;
import org.apache.poi.ss.formula.functions.T;

/**
 * ClassName：StreetListener
 * Package:IntelliJ IDEA
 *
 * @Author:Jixu
 * @Create:2023/2/20-23:10
 */
public class StreetListener extends AnalysisEventListener<Street> {

    @Override
    public void invoke(Street street, AnalysisContext analysisContext) {
        System.out.println(street.toString());
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {
        System.out.println("文件读取完成");
    }
}
